﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _1._6._2015_EntitiyFramework.Data.Models
{
    public class Item
    {
        public int ItemId { get; set; }
        [Required]
        public string Description { get; set; }
        public decimal? Price { get; set; } // Nullable<decimal> or adding ? specifies that this decimal can be null

    }
}
